<template>
	<div id="product" class="p_div">
		<div id="border_div">
			<div class="footer_div">
				<span class="span1" @click="home()">
					< </span> <span>
						<input class="search_box" type="text" name="search" placeholder="山姆会员商店优惠商品">
				</span>
			</div>
			<div class="div_1">
				<div class="div_2">
					<img src="../assets/home/沃尔玛.png" />
					<div class="div_3">
						<div class="div_3_first">沃尔玛</div>
						<div class="div_3_second">
							<span>月售1万+</span>
							<span>起送￥0</span>
							<span>基础运费￥5</span>
						</div>
						<div class="div_3_third">VIP尊享满89元减4元运费券（每月3张）</div>
					</div>
				</div>
			</div>
			<div>
				<div class="div_4">
					<div class="pro_detail_height">
						<span class="span_tt">全部商品</span>
						<div class="pro_div_left_colunm">							
							<span>秒杀</span>
							<span>新鲜水果</span>
							<span>休闲食品</span>
							<span>时令蔬菜</span>
							<span>肉蛋家禽</span>
						</div>
					</div>
					<div class="pro_detail_height_right">
						<div class="pro_div_detail_bottom">
							<img src="../assets/orders/icon_order.png"/>
							<div class="pro_bottom_text">
								<div class="pro_div_detail_bottom_text_first">番茄250/份</div>
								<div class="pro_div_detail_bottom_text_second">
									<span>月售1万+</span>
								</div>
								<div class="pro_chang">
									<span class="first_text">
										￥33.6
									</span>
									<p class="second_text">￥33.6</p>
									<span class="thid_text">
										<span><img class="icon_jia" src="../assets/orders/白减.png"></span>
										<span>88</span>
										<img class="icon_jia" src="../assets/orders/蓝加.png">
									</span>
								</div>
							</div>
						</div>
						<div class="pro_div_detail_bottom">
							<img src="../assets/orders/icon_order.png" />
							<div class="pro_bottom_text">
								<div class="pro_div_detail_bottom_text_first">提子250/份</div>
								<div class="pro_div_detail_bottom_text_second">
									<span>月售1万+</span>
								</div>
								<div class="pro_chang">
									<span class="first_text">
										￥33.6
									</span>
									<p class="second_text">￥33.6</p>
									<span class="thid_text">
										<span></span>
										<!-- <span></span> -->
										<img class="icon_jia" src="../assets/orders/蓝加.png">
									</span>
								</div>
							</div>
						</div>
						<div class="pro_div_detail_bottom">
							<img src="../assets/orders/icon_order.png" />
							<div class="pro_bottom_text">
								<div class="pro_div_detail_bottom_text_first">提子250/份</div>
								<div class="pro_div_detail_bottom_text_second">
									<span>月售1万+</span>
								</div>
								<div class="pro_chang">
									<span class="first_text">
										￥33.6
									</span>
									<p class="second_text">￥33.6</p>
									<span class="thid_text">
										<span></span>
										<!-- <span></span> -->
										<img class="icon_jia" src="../assets/orders/蓝加.png">
									</span>
								</div>
							</div>
						</div>
	
	
					</div>
				</div>
			</div>
		</div>
		<div id="border2" class="item_two_div">
			<div class="bor_div">
				<div class="bor_div_top">
					<span class="bor_div_top_span">
						<img src="../assets/蓝对.png" />
						<span>全选</span>
					</span>
					<span>清空购物车</span>
				</div>
				<div class="bor_div_bottom">
					<span>
						<img src="../assets/蓝对.png" />
					</span>
					<span>
						<img src="../assets/orders/icon_order.png" />
					</span>
					<span class="colunm">
						<span>番茄250g/份</span>
						<span class="between">
							<p>￥33.6</p>
							<p>￥33.6</p>
						</span>
					</span>
					<span class="right">
						<img class="ss" src="../assets/orders/白减.png" />
						1
						<img class="ss" src="../assets/orders/蓝加.png" />
					</span>
				</div>
				
			</div>
			<div class="footer_guide">
				<div class="guide_item">
					<div class="pro_bottom">
						<span class="item_icon">
							<img src="../assets/home/basket@2x.png" />
						</span>
					</div>
					<div class="pro_bottom_span">
						<span>总计：</span>
						<span class="pro_bottom_span_text">￥128</span>
					</div>
					<div class="pro_bottom_span_end" @click="toShade()">
						<span>去结算</span>
					</div>
				</div>
			</div>
		</div>
	</div>
</template>
<script>
	export default {
		methods: {
			home() {
				this.$router.push('/home')
			},
			toShade() {
				this.$router.push('/qrzhifu')
			}
		}
	}
</script>
<style scoped>
	* {
		margin: 0;
		padding: 0;
	}

	.right {
		position: absolute;
		right: 0;
		margin-right: 18px;
		align-items: center;
	}

	.colunm .between {
		margin-top: 6px;
		display: flex;
		justify-content: space-between;
	}

	.colunm {
		display: flex;
		flex-direction: column;
		margin-left: 16px;
	}

	.ss {
		width: 19.4px;
		height: 19.5px;
		margin-right: 9px;
		margin-left: 9px;
		margin-top: 15px;
	}

	.bor_div_bottom {
		margin-top: 12px;
		text-align: left;
		height: 70px;
		display: flex;
	}

	.bor_div_bottom span:nth-child(1) img {
		margin-top: 17px;
		margin-left: 18.4px;
		margin-bottom: 13px;
		height: 19.2px;
		width: 19.2px;
	}

	.bor_div_bottom span:nth-child(2) img {
		margin-left: 16.4px;
		height: 46px;
		width: 46px;
	}

	.bor_div_top {
		display: flex;
		justify-content: space-between;
		align-items: center;
		border: 1px solid #F1F1F1;
		padding-bottom: 18px;
	}

	.bor_div_top :nth-child(1) {
		font-family: PingFangSC-Regular;
		font-size: 14px;
		color: #333333;
		line-height: 16px;
	}

	.bor_div_top :nth-child(2) {
		font-family: PingFangSC-Regular;
		font-size: 14px;
		color: #333333;
		text-align: right;
		line-height: 16px;
		margin-top: 18px;
		margin-right: 18px;
	}

	.bor_div_top img {
		height: 19.2px;
		width: 19.2px;
		margin-top: 18px;
		margin-left: 18px;
		margin-right: 8.4px;
	}

	.bor_div {
		height: 65%;
		width: 100%;
		position: absolute;
		bottom: 0;
		background-color: white;
	}

	.item_two_div {
		background: rgba(0, 0, 0, 0.50);
		align-items: center;
	}

	.p_div {
		position: relative;
	}

	#border_div {
		position: absolute;
		z-index: 1;
	}

	#border2 {
		position: absolute;
		z-index: 2;
		top: 0px;
		left: 0;
		height: 189%;
		width: 100%;
	}

	#product {
		height: 100%;
		position: fixed;
		width: 100%;
	}

	.footer_div {
		margin-left: 18.2px;
	}

	.footer_div .search_box {
		background: #F5F5F5;
		border-radius: 16px;
		height: 32px;
		width: 80%;
		margin-left: 16.2px;
		margin-right: 18px;
		text-align: left;
		padding-left: 12.1px;
		border: 0;
		margin-top: 16px;
	}

	.footer_div .span1 {
		height: 21.2px;
	}

	.div_1 {
		height: 106px;
		margin-top: 24px;
	}

	.div_2 {
		margin-top: 14px;
		text-align: left;
		margin-left: 18px;
		display: flex;
		justify-content: start;
	}

	.div_2 img {
		height: 56px;
		width: 56px;
	}

	.div_2 .div_3 {
		margin-left: 16px;
	}

	.div_2 .div_3 .div_3_first {
		font-family: PingFangSC-Regular;
		font-size: 16px;
		color: #333333;
	}

	.div_2 .div_3 .div_3_second {
		font-family: PingFangSC-Regular;
		font-size: 13px;
		color: #333333;
		display: flex;
		justify-content: space-between;
		margin-top: 8px;
	}
    .span_tt{
    	 margin-left: 10px;
    	 margin-right: 16px;
    	 margin-top: 12px;
    	 height: 40px;
    	 font-family: PingFangSC-Regular;
    	 font-size: 14px;
    	 color: #333333;
    	 line-height: 16px;
     }
	.div_2 .div_3 .div_3_third {
		font-family: PingFangSC-Regular;
		font-size: 13px;
		color: #E93B3B;
		margin-top: 8px;
		border-bottom: 1px solid #F1F1F1;
		padding-bottom: 12px;
	}

	.div_4 {
		display: flex;
		justify-content: flex-start;
		height: 100%;
	}

	.div_4 .pro_div_left_colunm {
		display: flex;
		flex-direction: column;
		align-items: center;
		height: 100%;
		background: #F5F5F5;
		border-radius: 2px;
		width: 86px;
	}

	.div_4 .pro_div_left_colunm span {
		margin-left: 10px;
		margin-right: 16px;
		margin-top: 12px;
		height: 40px;
		font-family: PingFangSC-Regular;
		font-size: 14px;
		color: #333333;
		line-height: 16px;
	}

	.pro_div_detail_bottom {
		display: flex;
		justify-content: flex-start;
		margin-bottom: 12px;
		height: 92px;
		margin-left: 16px;
		border-bottom: 1px solid #F1F1F1;
		width: 100%;
	}

	.pro_div_detail_bottom>img {
		width: 68px;
		height: 68px;
	}

	.pro_bottom_text {
		margin-left: 16px;
		text-align: left;
		width: 100%;
	}

	.pro_bottom_text .pro_div_detail_bottom_text_first {
		font-family: PingFangSC-Medium;
		font-size: 14px;
		color: #333333;
	}

	.pro_bottom_text .pro_div_second{
		margin-top: 6px;
		font-family: PingFangSC-Regular;
		font-size: 12px;
		color: #333333;
		line-height: 16px;
	}

	.pro_bottom_text .pro_chang {
		margin-top: 6px;
		display: flex;
		justify-content: space-between;
	}

	.pro_bottom_text .pro_chang .icon_jia {
		width: 19.5px;
		height: 19.4px;
		text-align: right;
		padding-left: 10px;
		padding-right: 10px;
	}

	.pro_chang .first_text {
		font-family: PingFangSC-Semibold;
		font-size: 14px;
		color: #E93B3B;
		line-height: 20px;
		margin-right: 12px;
	}

	.pro_chang .second_text {
		font-family: PingFangSC-Regular;
		font-size: 10px;
		color: #999999;
		line-height: 20px;
	}

	.pro_chang .thid_text {
		display: flex;
		justify-content: space-between;
		/* margin-left: 50px; */
		margin-right: 290px;
	}

	.footer_guide {
		border-top: 1px soild #e4e4e4;
		position: fixed;
		z-index: 100;
		left: 0;
		right: 0;
		bottom: 1px;
		background-color: #fff;
		width: 100%;
		height: 50px;
		display: flex;
	}

	.guide_item {
		display: flex;
		flex: 1;
		text-align: center;
		justify-content: flex-start;
		align-items: center;
		margin: 5px;
		color: #999999;
	}

	.item_icon img {
		width: 28px;
		height: 26px;
		margin-top: 11px;
		margin-left: 24px;
		margin-bottom: 12px;
	}

	.pro_bottom_span {
		margin-right: 180px;
		margin-left: 32px;
		margin-top: 16px;
		margin-bottom: 16px;
	}

	.pro_bottom_span_end {
		background: #4FB0F9;
		padding: 14px 28px 14px 28px;
		font-family: PingFangSC-Medium;
		font-size: 14px;
		color: #FFFFFF;
		position: absolute;
		right: 0;
		bottom: 0;
	}

	.pro_bottom_span_text {
		font-family: PingFangSC-Medium;
		font-size: 18px;
		color: #E93B3B;
	}

	.border_right {
		text-align: right;
	}

	.thid_text span:nth-child(1) {
		height: 17.2px;
		width: 17.2px;
	}

	.thid_text span:nth-child(2) {
		height: 17.2px;
		width: 17.2px;
		margin-left: 20px;
		margin-right: -4px;
	}
</style>
